Skip to content

fix: add missing syntax and editor highlighting tokens#32

Open
Dakshx07 wants to merge 1 commit into
lunel-dev:mainfrom
Dakshx07:fix/isolated-syntax-fix
Open

fix: add missing syntax and editor highlighting tokens#32
Dakshx07 wants to merge 1 commit into
lunel-dev:mainfrom
Dakshx07:fix/isolated-syntax-fix

Conversation

@Dakshx07
Copy link
Copy Markdown

Overview

This PR resolves a critical runtime crash in the theme system where syntax highlighting tokens were missing from the ThemeColors definition.

Changes

  • Bug Fix: Added missing syntax and editor color tokens to the ThemeColors interface.
  • Implementation: Populated lightTheme and darkTheme objects with high-quality hex codes for all code highlighting tokens (keywords, strings, functions, etc.).
  • Stability: Ensures getPrismTokenColors has the required data to avoid destructuring errors.

Context

As requested by @rinkitadhana in #31, this is an isolated PR containing only the bug fix for immediate merging.

@Dakshx07
Copy link
Copy Markdown
Author

Hi @rinkitadhana ! 👋

Just bumping this to see if you have any initial thoughts or feedback on these syntax/editor highlighting tokens. I'm happy to make any changes or split anything further if needed to get this ready to merge. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant